package com.w3coffee.web.oauth;

import java.util.Properties;

public class OauthFactory {
	private Properties mappings;
	
	public IOauthApi getOAuth(String host) {
		return host == null ? null : (IOauthApi) mappings.get(host);
	}

	
	public void setMappings(Properties mappings) {
		this.mappings = mappings;
	}
}
